package com.song.EMS.utils;

import com.google.gson.Gson;


/**将对象转换成gson，用于前后段交互
 * @author song
 */
public class JsonUtil {
    private static Gson gson = new Gson();
    public static String toJSON(Object o) {
        return gson.toJson(o);
    }
}
